package com.tanhua.dubbo.server.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "audio")
public class Audio implements java.io.Serializable {

    private static final long serialVersionUID = 685234869213547520L;

    private ObjectId id; //主键id
    private Long aid; //自增长id
    private Long userId; //发布者的id
    private String audioUrl; //音频文件
    private Long created; //创建时间

}
